package com.usefullc.crawler.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.system.service.component.extend.ApiField;
import com.usefullc.system.service.component.extend.EnumField;
import com.usefullc.system.service.component.extend.UsefulField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 爬虫活动流程返回实体
 * @author: 星空
 * @date: 2022-12-14
 */
@Data
public class ClientActiveProcessTaskVo extends BaseDomain {


    @ApiModelProperty(notes = "活动流程ID")
    private Long activeProcessId;

    private Long templateId;

    private String name;

    private String activeName;

    private Integer storePageSource;

    private Integer hasNextActive;

    @ApiModelProperty(notes = "请求方法")
    private String method;

    @ApiModelProperty(notes = "请求类型(0 simulator,1 http_api）")
    private Integer requestType;

    private String timeRdMs;

    private Long activeId;

    private String cookie;

    private Long startTime;

    @ApiModelProperty(notes = "解析屏蔽表达式")
    private String analyseBanExpress;

    @ApiModelProperty(notes = "解析表达式")
    private String analyseExpress;

    @ApiModelProperty(notes = "解析提取URL表达式")
    private String analyseDataExpress;


    @ApiModelProperty(notes = "解析切换代理表达式")
    private String switchProxyExpress;


    @ApiModelProperty(notes = "提取数据的url")
    private String extractDataUrl;

    @ApiModelProperty(notes = "分片活动（0否，1是）")
    private Integer sliceActive;

    @ApiModelProperty(notes = "等待css选择表达式")
    private String waitCssSelectorExpress;

    @ApiModelProperty(notes = "脏数据css选择表达式")
    private String dirtyCssSelectorExpress;

    @ApiModelProperty(notes = "UI事件脚本")
    private String uiEventScript;

    @ApiModelProperty(notes = "Html提取表达式类型（0 静态；1 动态）")
    private Integer analyseExpressType;

    @ApiModelProperty(notes = "变量")
    private String variables;


    @ApiModelProperty(notes = "运行超时时间")
    private Integer runTimeout;

    @ApiModelProperty(notes = "请求body")
    private String requestBody;

    @ApiModelProperty(notes = "请求头部")
    private String requestHeaders;

    private List<String> urls;


}
